package com.situ.scientific.dao;

import com.situ.scientific.pojo.Auth;
import com.situ.scientific.pojo.query.AuthQuery;

import java.util.List;

public interface IAuthDao {
    List<Auth> selectByPage(AuthQuery authQuery);

    int totalCount(AuthQuery authQuery);

    void add(Auth auth);

    int deleteById(int id);

    Auth selectById(String id);

    void updateStatus(String id,int status);

    void update(Auth auth);
    List<Auth> selectByRole(Integer role);
}
